﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
    <div>
        @if (ViewBag.msg != null)
        {
            <h2>@ViewBag.msg</h2>
        }

        @using (Html.BeginForm())
        {
            <p>用户名：@Html.TextBox("UserName")</p>
            <p>密码：@Html.Password("UserPwd")</p>
            <button type="submit">登录</button>
        }
    </div>
</body>
</html>
